﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="CapNhatSP.ascx.cs" Inherits="Pages_CapNhatSP" %>


                    <style type="text/css">
                        .style1
                        {
                            height: 16px;
                            width: 684px;
                        }
                        .style2
                        {
                            height: 25px;
                            width: 684px;
                        }
                        .text
                        {
                            
                            height: 10px;
                            width: 684px;
                        }
                        </style>

 
                    <table style="width: 750px">
                        <tr>
                            <td colspan="3" style="height: 23px; text-align:left; background-color: #7aade1;">
                               <strong> <span style=" font-size:24px; color: #ffffff">
                                &nbsp;Cập nhật sản phẩm 
                                </span></strong></td>
                        </tr>
                        <tr>
                            <td colspan="2" style="text-align: left" class="style1">
                            </td>
                            <td colspan="1" style="width: 620px; height: 16px; text-align: left">
                                <asp:Label class="style3" ID="Label2" runat="server"></asp:Label>
                                </td>
                        </tr>
                        <tr>
                            <td style="text-align: left; " colspan="2" class="style2">
                                &nbsp;Mã sản phẩm :&nbsp;(*) &nbsp; &nbsp;</td>
                            <td colspan="1" style="width: 620px; height: 10px; text-align: left">
                                <asp:DropDownList ID="cbomasp" runat="server" Height="18px" Width="191px">
                                </asp:DropDownList>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                                    ErrorMessage="Bạn chưa chọn mã sản phẩm" ControlToValidate="cbomasp" 
                                    SetFocusOnError="True"></asp:RequiredFieldValidator>
                                </td>
                        </tr>
                        <tr>
                            <td colspan="2" style="text-align: left; " class="style3">
                            </td>
                            <td colspan="1" style="width: 620px; height: 10px; text-align: left">
                            </td>
                        </tr>
                        <tr>
                        <td style="text-align: left; " colspan="2" class="style2">
                                Tên sản phẩm : 
                                &nbsp; &nbsp; &nbsp;</td>
                            <td colspan="1" style="width: 620px; height: 10px; text-align: left">
                                <asp:TextBox ID="txttensp" runat="server" Width="194px"></asp:TextBox>
                                </td>
                        </tr>
                        <tr>
                            <td colspan="2" style="text-align: left; " class="style3">
                            </td>
                            <td colspan="1" style="width: 620px; height: 10px; text-align: left">
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2" style="text-align: left; " class="text">
                                 Đơn giá:
                            </td>
                            <td colspan="1" style="width: 620px; height: 10px; text-align: left">
                                <asp:TextBox ID="txtgia" runat="server" Width="196px"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2" style="text-align: left; " class="style3">
                            </td>
                            <td colspan="1" style="width: 620px; height: 10px; text-align: left">
                            </td>
                        </tr>
                        <tr>
                        <td style="text-align: left; " colspan="2" class="style2">
                                &nbsp;Số lượng :&nbsp; &nbsp; &nbsp;</td>
                            <td colspan="1" style="width: 620px; height: 10px; text-align: left">
                                <asp:TextBox ID="txtsoluong" runat="server" Width="195px"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2" style="text-align: left; " class="style3">
                            </td>
                            <td colspan="1" style="width: 620px; height: 10px; text-align: left">
                            </td>
                        </tr>
                       
                         <tr>
                            <td style="text-align: left; width: 584px; height: 24px;" colspan="2">
                                &nbsp;Trạng thái :&nbsp; &nbsp;&nbsp;</td>
                            <td colspan="1" style="width: 620px; height: 24px; text-align: left">
                                <asp:DropDownList ID="cbotrangthai" runat="server" Width="195px" 
                                    Height="22px">
                                    <asp:ListItem>Còn hàng</asp:ListItem>
                                    <asp:ListItem>Hết hàng</asp:ListItem>
                                
                                </asp:DropDownList>
                                </td>
                        </tr>
                         <tr>
                            <td colspan="2" style="text-align: left; " class="style3">
                            </td>
                            <td colspan="1" style="width: 620px; height: 10px; text-align: left">
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2" style="text-align: left; " class="text">
                               &nbsp;Hình ảnh : 
                                &nbsp;&nbsp;&nbsp;
                            </td>
                            <td colspan="1" style="width: 620px; height: 10px; text-align: left">
                                <asp:FileUpload ID="FileUpload1" runat="server" Width="314px" />
                                </td>
                        </tr>
                        <tr>
                            <td colspan="2" style="text-align: left; " class="style3">
                            </td>
                            <td colspan="1" style="width: 620px; height: 10px; text-align: left">
                            </td>
                        </tr>
                        <tr>
                            <td style="text-align: left; width: 584px; height: 24px;" colspan="2">
                                &nbsp; Danh mục : &nbsp;&nbsp;</td>
                            <td colspan="1" style="width: 620px; height: 24px; text-align: left">
                                <asp:DropDownList ID="cbomadm" runat="server" Width="194px" 
                                    Height="23px">
                                
                                </asp:DropDownList>
                                </td>
                        </tr>
                        <tr>
                            <td colspan="3" style="height: 1px; text-align: left">
                            </td>
                        </tr>
                        <tr>
                            <td colspan="3" style="height: 8px; text-align: left">
   
                   <center> 
                       <asp:Button ID="Button1" runat="server" Text="Lưu sản phẩm"
                        Width="150px" /></center>
                        
                        </td>
                        </tr>
                    </table>
